/**
 * 登录请求参数
 */
export interface LoginData {
  /**
   * 用户名
   */
  userName: string;
  /**
   * 密码
   */
  password: string;
  code?: string;
  codeId?: string;
}

/**
 * 登录响应
 */
export interface LoginResult {
  code: string;
  message: string;
  status?: string;
  currentAuthority?: string;
  id?: number;
  userName?: string;
  token?: string;
  accessExpire?: number;
  refreshAfter?: number;
}

